package com.gaojiabao.panghu.data.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.time.LocalTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("store")
public class Store {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("storeImg")
    private String storeImg;

    @TableField("storeName")
    private String storeName;

    @TableField("storePhone")
    private String storePhone;

    @TableField("fullAddress")
    private String fullAddress;

    @TableField("simpleAddress")
    private String simpleAddress;

    @TableField("province")
    private String province;

    @TableField("city")
    private String city;

    @TableField("district")
    private String district;

    @TableField("openTime")
    private LocalTime openTime;

    @TableField("closeTime")
    private LocalTime closeTime;

    @TableField("communityId")
    private long communityId;

    @TableField("orderTotal")
    private long orderTotal;

    @TableField("createTime")
    private Timestamp createTime;

    @TableField("deleteTime")
    private Timestamp deleteTime;

    @TableField("status")
    private Integer status;

    private Boolean deleted;
}
